<?php global $cv_option;

if ( has_nav_menu( 'primary' ) ) : ?>

	<div id="menu-primary" class="menu-container clearfix">	
		<div id="branding-small">
			<?php $logo = ($cv_option['logo_small'] <> '') ? $cv_option['logo_small'] : get_bloginfo('template_directory').'/images/'.'logo-small.png'; ?>
				<a href="<?php echo get_bloginfo('siteurl'); ?>"><img src="<?php echo esc_url($logo); ?>" alt="Logo-small" id="logo-small"/></a>			
		</div><!-- #branding-small -->
		
		<?php wp_nav_menu( array( 'theme_location' => 'primary', 'container_class' => 'menu', 'menu_class' => 'sf-menu', 'menu_id' => 'menu-primary-items', 'fallback_cb' => '' ) ); ?>	
					
	</div><!-- #menu-primary .menu-container -->

<?php endif; ?>